

package com.kimo.shop.user.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kimo.shop.user.comment.model.UserRights;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员等级
 *
 * @author kimo-taozhouchuan
 * @date 2020-02-26 16:03:14
 */
public interface UserRightsMapper extends BaseMapper<UserRights> {

    Boolean setStatua(@Param("rightsId") Long rightsId, @Param("status")Integer status);

    List<Long> getUserRightsIdListByLevelId(@Param("id")Long id,@Param("levelType") Integer levelType);
}
